package com.eedi.framework.template.controller.sys.vo.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.Set;

@Schema(description = "系统界面 - 赋予角色菜单 Request VO")
@Data
public class SysTemplatePermissionAssignRoleMenuReq {

    @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "角色编号不能为空")
    private String sysTemplateRoleId;

    // 兜底
    @Schema(description = "菜单编号列表", example = "1,3,5")
    private Set<String> sysMenuIds = Collections.emptySet();

}
